package com.itlong.cloud.noncore.commons;

import com.itlong.cloud.POJO.PO.AppRobotOperateLogPO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <desc>
 *      机器人登录日志暴露接口
 * </desc>
 *
 * @createDate 2018/10/15
 */
@FeignClient("non-core-service")
public interface IRobotLoginLogServiceClient {

    /**
     * <desc>
     *      保存机器人登录日志信息
     * </desc>
     *
     * @param appRobotOperateLogPO 登陆日志实体对象
     * @return 受影响行数
     * @author wangzhi
     * @createDate 2018/10/15
     */
    @RequestMapping(path = "/sys/logManage/robotLoginLog/save")
    Integer save(@RequestBody AppRobotOperateLogPO appRobotOperateLogPO) throws Exception;

}
